import type { CategoryArr } from '@/types/category'
import { http } from '@/utils/http'

/** 分类列表-小程序 */
export const getCategoryTopAPI = () => {
  return http<CategoryArr[]>({
    method: 'GET',
    url: '/category/top',
  })
}
